package dai.ui.single

import android.view.View
import dai.ui.UITween


class Call(val action: (View) -> Unit) : UITween() {

    override fun execute(dt: Float) {
        action.invoke(target!!)
    }

    override fun clone(): UITween {
        return Call(action)
    }
}